//
//  TopImageBottomTitleVC.m
//  UILbrary
//
//  Created by mac on 16/7/20.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "TopImageBottomTitleVC.h"
#import "TopImageBottomTitleButton.h"
@implementation TopImageBottomTitleVC
- (void)viewDidLoad{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    TopImageBottomTitleButton *button = [[TopImageBottomTitleButton alloc] initWithFrame:CGRectMake(200, 380, 100, 100)];
    button.backgroundColor = [UIColor whiteColor];
    [button.button setBackgroundImage:[UIImage imageNamed:@"about"] forState:UIControlStateNormal];
    button.title.text = @"关于";
    [self.view addSubview:button];
    
    [button.button addTarget:self action:@selector(buttonClick) forControlEvents:UIControlEventTouchUpInside];
    
    
    
    
    
}


- (void)buttonClick{
    
}
@end
